<div class="container">
    <div class="title">登录</div>
    <ion-list>
        <ion-item>
            <ion-label>用户名: </ion-label>
            <ion-input [(ngModel)]="username" placeholder="随便输入"></ion-input>
        </ion-item>
        <ion-item>
            <ion-label>密码: </ion-label>
            <ion-input type="password" [(ngModel)]="password" placeholder="随便输入"></ion-input>
        </ion-item>
        <ion-button class="submit" expand="block" type="primary" (click)="login()">登录</ion-button>
    </ion-list>
</div>
